]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Redisplay on layout changes
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 1 Sep 2020 18:49:16 +0000 (15:49 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 1 Sep 2020 19:45:54 +0000 (16:45 -0300)
This was an overlook from e1ea1d29540c3fc8f2346fbc481f784c17fd0e56.

We never connected to the 'layout-changed' signal, which means
changing the GSettings externally wouldn't trigger a redisplay.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1428

js/ui/appDisplay.js

index daaf74693346b8553342b624cf8c8755baaa6a6f..d26c12fec33423858795be137a6d7b7ab4d9740e 100644 (file)
@@ -888,6 +888,7 @@ class AppDisplay extends BaseAppView {
         });
 
         this._pageManager = new PageManager();
+        this._pageManager.connect('layout-changed', () => this._redisplay());
 
         this._scrollView.add_style_class_name('all-apps');